package org.example.spring6.service;

import org.example.spring6.dao.VipDao;

/**
 * @auther hewenhui
 * @see <a href="hetp://www.codingmaster.com> java </a>
 */
public class VipService {
    VipDao vipDao;

    public VipService(VipDao vipDao) {
        this.vipDao = vipDao;
        System.out.println("调用VipService构造方法完成依赖注入！");

    }

    public void save(){
        vipDao.insert();
    }
}
